/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

/**
 *
 * @author Ero
 */


class Avset implements WordSet
{
	private AvlTree arbol;
	
	public Avset()
	{

		arbol = new AvlTree();
	}
	
	public Word get(Word word)
	{
		
		return (Word)arbol.find(word);
	
	}
	
	public void add(Word object)
	{
		
		arbol.insert(object);
		
		
	}
}